package com.apware.utils.entity;

public class CarPartsInfo {

	//	流水编号
	//private int SERIAL;
	//	商品编号
	private String partsNo;
	public static final String PARTS_NAME= "cname";
	//	中文名称
	private String cname;
	//	中文名称
	private String ename;
	public static final String PARTS_STANDARD_NO= "standardPartsNo";
	//	品牌编号
	private String standardPartsNo;
	//	零配件品质类型 0-原厂 1-原厂配套 2-品牌件 3-其他
	private String isOem;
	public static final String PARTS_MANUF_NAME= "manufactureCname";
	//	品牌中文名
	private String manufactureCname;
	//	品牌英文名
	private String manufactureEname;
	public static final String PARTS_BATCH_PRICE= "batchPrice";
	//	批发价
	private double batchPrice;
	public static final String PARTS_UNIT= "unit";
	//	单位
	private String unit;
	public static final String PARTS_CAR= "carInfo";
	//	适用车型
	private String carInfo;
	public static final String PARTS_PRODUCING= "producingArea";
	// 产地
	private String producingArea;
	public static final String PARTS_PRICE= "price";
	//	零售价
	private double price;
	//	成本价
	private double costPrice;
	public static final String PARTS_STOCK= "stock";
	//	库存量
	private long stock;
	public static final String PARTS_WAREHOUSE= "OwnNo";
	// 门店
	private String OwnNo;
	
	//public int getSERIAL() {
		//return SERIAL;
	//}
	//public void setSERIAL(int SERIAL) {
		//this.SERIAL = SERIAL;
	//}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public String getPartsNo() {
		return partsNo;
	}
	public void setPartsNo(String partsNo) {
		this.partsNo = partsNo;
	}
	public String getStandardPartsNo() {
		return standardPartsNo;
	}
	public void setStandardPartsNo(String standardPartsNo) {
		this.standardPartsNo = standardPartsNo;
	}
	public String getIsOem() {
		return isOem;
	}
	public void setIsOem(String isOem) {
		this.isOem = isOem;
	}
	public String getManufactureCname() {
		return manufactureCname;
	}
	public void setManufactureCname(String manufactureCname) {
		this.manufactureCname = manufactureCname;
	}
	public String getManufactureEname() {
		return manufactureEname;
	}
	public void setManufactureEname(String manufactureEname) {
		this.manufactureEname = manufactureEname;
	}
	public double getBatchPrice() {
		return batchPrice;
	}
	public void setBatchPrice(double batchPrice) {
		this.batchPrice = batchPrice;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getCarInfo() {
		return carInfo;
	}
	public void setCarInfo(String carInfo) {
		this.carInfo = carInfo;
	}
	public String getProducingArea() {
		return producingArea;
	}
	public void setProducingArea(String producingArea) {
		this.producingArea = producingArea;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(double costPrice) {
		this.costPrice = costPrice;
	}
	public long getStock() {
		return stock;
	}
	public void setStock(long stock) {
		this.stock = stock;
	}
	public String getOwnNo() {
		return OwnNo;
	}
	public void setOwnNo(String OwnNo) {
		this.OwnNo = OwnNo;
	}
	
	public String toString() {
		return this.getCname() + "|" + this.getPrice()+ "|" + this.getStock()+"|" 
	+this.getCarInfo()+ "|"  + this.getManufactureCname()+ "|" +this.getUnit()+ "|" +this.getProducingArea();
 	}
	
}
